<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>添加角色</title>
    <link rel="stylesheet" href="../src/css/bootstrap.min.css">
    <link rel="stylesheet" href="../src/css/font-awesome.min.css">
    <link rel="stylesheet" href="../src/css/style.min.css">
    <script src="../src/js/jquery-3.3.1.min.js"></script>
    <script src="../src/js/bootstrap.min.js"></script>

    <link rel="stylesheet" href="../src/css/jquery.treeview.css">
    <script src="../src/js/jquery.treeview.js"></script>
</head>
<body>
            <section class="content-container">

                <div class="content-wrapper">
                    <div class="bread-crumb">
                        <h5 class="b-inner clearfix">
                            <b class="tit">添加角色</b>
                            <span class="float-right">
                                <a href="role.html" class="btn btn-primary">保存</a>
                                <a href="role.html" class="btn btn-secondary">取消</a>
                            </span>
                        </h5>

                    </div>

                    <br>

                    <div class="row">
                        <div class="col-6">
                            <div class="form-group col-9">
                                <label>角色名：</label>
                                <input type="text" class="form-control">
                            </div>
                        </div>
                        <div class="col-6">
                            <div class="form-group col-9">
                                <label>角色昵称：</label>
                                <input type="text" class="form-control">
                            </div>
                        </div>
                        <div class="col-6">
                            <div class="form-group col-9">
                                <span class="mr-2">角色状态：</span>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1">
                                    <label class="form-check-label" for="inlineRadio1">启用</label>
                                </div>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2">
                                    <label class="form-check-label" for="inlineRadio2">禁用</label>
                                </div>
                            </div>
                        </div>
                        <div class="col-6">
                            <div class="form-group col-9">
                                <ul id="browser" class="filetree">
                                    <li><span class="folder">Folder 1</span>
                                        <ul>
                                            <li>
                                                <label>
                                                    <input type="checkbox" class="checkbox" checked />
                                                    <span class="file">Item 1.1</span>
                                                </label>
                                            </li>
                                        </ul>
                                    </li>
                                    <li><span class="folder">Folder 2</span>
                                        <ul>
                                            <li><span class="folder">Subfolder 2.1</span>
                                                <ul>
                                                    <li><label><input type="checkbox" class="checkbox" /><span class="file">File
                                                                2.1.1
                                                            </span></label></li>
                                                    <li><label><input type="checkbox" class="checkbox" /><span class="file">File
                                                                2.1.2
                                                            </span></label></li>
                                                </ul>
                                            </li>
                                            <li><span class="file">File 2.2</span></li>
                                        </ul>
                                    </li>
                                    <li><span class="folder">Folder 3</span>
                                        <ul>
                                            <li><label><input type="checkbox" class="checkbox" /><span class="file">File
                                                        3.1
                                                    </span></label></li>
                                        </ul>
                                    </li>
                                    <li><label><input type="checkbox" class="checkbox" /><span class="file">File 4</span></label></li>
                                </ul>
                            </div>
                        </div>


                    </div>


                </div>

            </section>

    <script>
        $("#browser").treeview(); 
    </script>

</body>

</html>